import { IsNotEmpty } from 'class-validator';
export class UpdateMeetingDto {
  @IsNotEmpty({
    message: 'id为空',
  })
  id: number;
  @IsNotEmpty({
    message: '名称为空',
  })
  name: string;
  @IsNotEmpty({
    message: '容量为空',
  })
  capacity: number;
  @IsNotEmpty({
    message: '地点为空',
  })
  location: string;
  @IsNotEmpty({
    message: '设备为空',
  })
  equipment: string;
  isBooked?: boolean;
}
